package com.ztgf.order.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * author: chenyu.wang
 * date: 2020-07-13 15:13
 * Description: 个人中心合同列表VO
 */
@Data
public class OrderContractCenterVO implements Serializable {

    @ApiModelProperty(value = "订单合同关系表id")
    private Long id;
    @ApiModelProperty(value = "合同签订时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value = "合同完成时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date signTime;
    @ApiModelProperty(value = "订单编号")
    private String orderNo;
    @ApiModelProperty(value = "合同状态 0未签订、1买家签订、2卖家签订、3买家签订中、4卖家签订中、5废弃合同签署中、6废弃合同签署完成")
    private Integer contactState;
    @ApiModelProperty(value = "合卖家废弃合同状态 0未废弃 1卖家废弃中 2卖家已废弃")
    private Integer sellerContactAbandonState;
    @ApiModelProperty(value = "买家废弃合同状态 0未废弃 1买家废弃中 2买家已废弃")
    private Integer buyerContactAbandonState;
    @ApiModelProperty(value = "订单id")
    private Long orderId;
    @ApiModelProperty(value = "合同地址")
    private String fileUrl;
    @ApiModelProperty(value = "合同模板名称")
    private String templetName;
    @ApiModelProperty(value = "卖家店铺id")
    private Long sellerShopId;
    @ApiModelProperty(value = "买家店铺id")
    private Long buyerShopId;
    @ApiModelProperty(value = "订单商品")
    private List<OrderInfoGoodsVO> orderItem;
}
